package com.android.accessibility.stat;

import java.util.Map;

import android.content.Context;

public abstract class Stat {
    private static Stat sStat = null;
    protected Context mContext;

    public Stat() {
    }

    public static Stat get(Context context) {
        if (sStat == null) {
            sStat = new QQStat();
        }
        sStat.initContext(context);
        return sStat;
    }

    private void initContext(Context context) {
        mContext = context;
    }

    public void init() {
    }

    public void onResume() {
    }

    public void onPause() {
    }

    public void reportKVEvent(String id, Map<String, Object> params) {
    }

    public void reportEvent(String id, String ...params) {
    }

    public boolean disableAd() {
        return false;
    }
}
